package com.qf.fmall.user.service;

import com.qf.fmall.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.fmall.vo.ResultVo;
import com.qf.fmall.vo.UserRegistVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dongjunlong
 * @since 2024-01-15
 */
public interface IUserService extends IService<User> {

    /**
     * 注册用户
     * @param userRegistVo
     * @return true代表注册成功，false注册失败
     */
    boolean regist(UserRegistVo userRegistVo);

    ResultVo login(String username, String password);
}
